package com.shop.dao;

import com.shop.pojo.GoodsCollection;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

import java.util.List;
import java.util.Map;

@Mapper
@Repository
public interface GoodsCollectionMapper {
    int deleteByPrimaryKey(String gcId);

    int insert(GoodsCollection record);

    GoodsCollection selectByPrimaryKey(String gcId);

    List<GoodsCollection> selectAll();

    int updateByPrimaryKey(GoodsCollection record);

    List<GoodsCollection> queryUserCollectionByCondition(Map<String,Object> params);
}